﻿using BaseData.ErrorCode;
using MediatR;

namespace BaseData.API.Write.Applications.MCI.Commands
{
    /// <summary>
    /// 修改就诊人信息-请求
    /// </summary>
    public class UpdPatientCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 就诊人编号
        /// </summary>
        public int PatientId { get; set; }
        /// <summary>
        /// 关系[本人,父母,]
        /// </summary>
        public string? Relationship { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 证件类型[身份证/等]
        /// </summary>
        public string? IdCardType { get; set; }
        /// <summary>
        /// 证件号码
        /// </summary>
        public string? IdCardNum { get; set; }
        /// <summary>
        /// 就诊卡号
        /// </summary>
        public string? MedicalCard { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 就诊人地址
        /// </summary>
        public string? Address { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool IsDefault { get; set; } = false;
    }
}
